#include <remez_log.h>
#include <iostream>

using namespace mpfr;

extern void my_log_coeffs_v4(bool debug);
extern void my_log_coeffs_v3(bool debug);

int main(int argc, char* argv[])
{

    if (argc <2 )
    {
        std::cout << argv[0] << " 3\nor\n"
                  << argv[0] << " 4\n";
        return 1;
    }

    // 检查命令行参数，
    int mode= atoi( argv[1]);

    if (mode==3)
        my_log_coeffs_v3(true);
    else if (mode==4)
        my_log_coeffs_v4(true);
    else
        std::cout << "Error: mode=" << mode << " is not supported\n";
    return 0;
}
